package edu.zac.service;

import edu.zac.anno.Cache;
import edu.zac.pojo.Emp;
import org.springframework.stereotype.Service;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/22 22:07
 * @Versions 1.0
 */
@Service
public class EmpServiceImpl  implements  EmpService{

    @Cache
    @Override
    public void add(Emp emp) {
        System.out.println(emp.toString());
    }
}
